<template>
	<div>
		<div class="list">
			<div class="item" v-for="item,i) in listData" :key="i">
				<div class="name">
					{{item.name}}
				</div>
				<div class="price">
					{{item.price}}					
				</div>
				<img :src="item.img" class="picture">
			</div>
		</div>
	</div>
</template>

<script>

import list from "@/assets/data/v_goods.json"
//console.log(list)
export default {	
	data(){
		return {
			listData:list.RECORDS,
		}
	}
}

</script>

<style>
	.picture{
		width:100px;
	}
</style>
